#ifndef _RTC_HPP
#define _RTC_HPP

#include "predef.h"
#include "sysdata.h"
#include "ioset1.h"
 
void GetCntTime (u8 * Addr, u32 SecCnt, u16 Mode);
u32 GetTimeCnt (u8 * Time, u16 Mode);
void GetRTCTm (u8 * TmBCD);
void CheckRTCTemp (void);
void Up_xBkRTC (void);
struct stT_Time_LTH
{
  u8 Bias;
  u8 Lth;
};
#endif
